package lesson2;

import java2d.game.Game;
import java2d.game.GameScene;
import java2d.game.SpriteGameObject;

/**
 * Author: ZhaoYan
 * Created: 2023/3/21 22:52
 */
public class Lesson2 {

    public static void main(String[] args) {
        Game game = new Game();
        GameScene scene = game.getScene();

        SpriteGameObject ship = new SpriteGameObject("assets/sprites/spacecraft.png");

        scene.add(ship);
    }
}
